#ifndef FORM_H
#define FORM_H

#include <QWidget>
#include "food_list.h"
#include "food_list_2.h"
#include "food_list_3.h"
#include "shop_1.h"
#include "shop_2.h"
#include "shop_3.h"
#include <QSqlDatabase>

namespace Ui {
class Form;
}

class Form : public QWidget
{
    Q_OBJECT
public:
    bool eventFilter(QObject *obj, QEvent *event) override;


public:
    explicit Form(QWidget *parent = nullptr);
    ~Form();
    food_list * m_list_1;
    Food_list_2 * m_list_2;
    Food_list_3 * m_list_3;
    QSqlDatabase m_db;
    QString str1;

    Shop_1 * shp_1;
    Shop_2 * shp_2;
    Shop_3 * shp_3;
    void recvInt(int i);

signals:
    void starting(QString str);

private slots:
    void on_bt_clicked();

    void on_bt_2_clicked();

    void on_bt_3_clicked();

private:
    Ui::Form *ui;
};

#endif // FORM_H
